#ifndef SCORE_H_
#define SCORE_H_

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "video-graphics.h"

#define NSCORES 10
#define NAME_LEN 17

typedef struct{
	int score;
	char name[NAME_LEN];
}Score;

void loadScores(Score* highscores, char* filename);
int addScore(Score* highscores, Score s);
void saveScores(Score* highscores, char* filename);
void printScores(char* title, Score* highscores, int posX, int posY, int titlecolor, int fontcolor, int backcolor, char* video, char* table);

#endif
